﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	x:Class="UnitFundProfitability.Prices"
	x:Name="Window"
	Title="Prices"
	Width="640" Height="480">

	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="*"/>
			<RowDefinition Height="*"/>
			<RowDefinition Height="*"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>
		<StackPanel Grid.Row="0">
			<TextBlock Text="Existing unit funds" Margin="10"/>
			<ComboBox Name="ExistingUnitFunds" ItemsSource="{Binding}" Margin="10">
				<ComboBox.ItemTemplate>
					<DataTemplate>
						<TextBlock Text="{Binding FundName}"/>
					</DataTemplate>
				</ComboBox.ItemTemplate>
			</ComboBox>
		</StackPanel>
		<StackPanel Grid.Row="1">
			<TextBlock Text="Price date" Margin="10"/>
			<DatePicker Name="PriceDate" Margin="10"/>
		</StackPanel>
		<StackPanel Grid.Row="2">
			<TextBlock Text="Price" Margin="10"/>
			<TextBox Name="Price" Margin="10"/>
		</StackPanel>
		<StackPanel Grid.Row="3">
			<Button Content="Add price" Name="AddPrice" Margin="10"/>
		</StackPanel>
	</Grid>
</Window>